<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>
<HEAD>

  <TITLE>CS631 -- Advanced Programming in the UNIX Environment</TITLE>
  <STYLE type="text/css">
  body {
  background-color: #FFFFFf;
  }
  </STYLE>
  <STYLE type="text/css">
  li.c1 {list-style: none}
  </STYLE>

</HEAD>

<BODY>
  <TABLE border="1" align="center" cellpadding="15">
    <TR>
      <TD valign="top">
        <H2>CS631 -- Advanced Programming in the UNIX Environment - Fall 2011 - Extra Credit</H2>

        <H3>Extra Credit: implement revline(1)</H3>

	<h4>Problem assignment</h4>
	<p>Implement the <tt>revline(1)</tt> command from the <a
	href="final.txt">in class final</a>. <tt>revline(1)</tt> reverses
	the contents of an arbitrarily large text file line by line (but
	does not reverse the words in the file).</p>
	<p>Example:<br>
	<blockquote><pre>$ cat file
this is line 1
this is line 2
this is line 3
this is line 4
$ revline file
this is line 4
this is line 3
this is line 2
this is line 1
$ </pre></blockquote></p>

	<h4>Deliverables and Due Date</H4>
        <p>Your submission will consist of a single file called
<tt>&lt;username&gt;-revline.c</tt>
        (where "&lt;username&gt;" is of course
        your username).
        </p>
        <p>
        The due date for this assignment is 2010-12-20 10:59:59.  Please
        attach the file to an email sent from your <tt>@stevens.edu</tt>
        email address to <a
        href="mailto:jschauma@stevens.edu?subject=[CS631] Extra Credit">jschauma@stevens.edu</a>
        with a subject of "[CS631] Extra Credit".
        </p>
        <hr>
        [<a href="index.html">Course Website</a>]
</BODY>
</HTML>
